using UnityEngine;

public class BtnDistrictChoose : MonoBehaviour
{
	public MapDistrict district;

	[SerializeField]
	private UIButton btn;

	private void Awake()
	{
		btn = GetComponent<UIButton>();
	}

	public void OnClick()
	{
		if (btn.enabled)
		{
			district.OnDistictTap();
		}
	}
}
